<template>
  <section class="order-list">
   <order-list-item v-for="(item,index) in orders" :key="index" :item="item" :index="index"/>
  </section>
</template>

<script>
import OrderListItem from './childComps/OrderListItem'
export default {
  props: {
    orders: {
      type: Array,
      default() {
        return []
      }
    }
  },
  components: {
    OrderListItem
  }
}

</script>
<style lang="less" scoped>
</style>